package com.example.iqiyitest.utils;

import java.util.ArrayList;
import java.util.List;

import com.example.iqiyitest.view.MovieView;


/**
 * 电影
 * 
 * @author suzht
 */
public class Video {
	
	public static final String VIDEO_RESOURCE_UPLOAD_PATH = "/upload/video_resource";
	
	public static final Integer LOAD_STATUS_INIT = 10;
	public static final Integer LOAD_STATUS_LOADING = 20;
	public static final Integer LOAD_STATUS_FINISH = 30;
	public static final Integer LOAD_STATUS_FAIL = 40;
	
	public static final String TYPE_MOVIE = "10";//电影
	public static final String TYPE_TV = "20";//电视剧
	public static final String TYPE_VARIETY = "30";//电视剧
	public static final String TYPE_COMIC = "40";//电视剧
	
	public Video(){
	}
	private String id;
	// 影片类型
	private String videoFirstType;
	// 影片类型
	private String videoFirstTypeName;
    /** 电影名称 */
    private String title;
    /** 中文标题拼音 */
    private String pinyin;
    /** 中文标题拼音首字母 */
    private String pinyin1;
    /** 简介 */
    private String summary;
    /** 豆瓣评分 */
    private Double rating;
    /** 豆瓣星级 */
    private Integer stars;
    /** 年代 */
    private String year;
    /** 播放地址 */
    private String url;
    /** 字幕文件 */
    private String srt;
    /** 电影海报图，服务器路径 */
    private String pic1;
    /** 电影海报图2 */
    private String pic2;
    /** 电影海报图3 */
    private String pic3;
    /** 电影时长(分钟) */
    private Integer duration;
    /** 电影详情页背景图 */
    private String background;
    /** 想看的人数 */
    private Integer wishCount;
    /** 看过人数 */
    private Integer collectCount;
    /** 短评数量 */
    private Integer commentsCount;
    /** 评分人数 */
    private Integer ratingsCount;
    /** 说明 */
    private String description;
    /** 影吧ID（用于记录影吧自己上传的电影） */
    private String movieBarId;
    //电影文件下载状态
    private Integer loadStatus;
    //本地图片地址
    private String picLocal;
    //本地背景图片地址
    private String backgroundLocal;
    //本地电影文件路径
    private String videoPath;
    //发布影片任务ID
    private String publishTaskId;
    //版权
    private String copyright;
    /** 影片价格 */
    private Integer price;
    
    /** 演员 */
    private String actor;
    /** 导演 */
    private String director;
    
    /** 类型*/
    private List<VideoType> types = new ArrayList<VideoType>();
    /** 演员 */
//    private List<Celebrity> casts = new ArrayList<Celebrity>();
    /** 导演 */
//    private List<Celebrity> directors = new ArrayList<Celebrity>();
    /** 标签 */
    private List<VideoTag> videoTags = new ArrayList<VideoTag>();
    /** 国家 */
    private List<VideoCountry> videoCountries = new ArrayList<VideoCountry>();
    /** 分集 */
    private List<VideoEpisode> videoEpisodes = new ArrayList<VideoEpisode>();

    private MovieView movieView;
    public String getId() {
		return id;
	}
    
    public void setId(String id) {
		this.id = id;
	}
    
    public String getVideoFirstType() {
		return videoFirstType;
	}
    
    public void setVideoFirstType(String videoFirstType) {
		this.videoFirstType = videoFirstType;
	}
    
    public String getVideoFirstTypeName() {
		return videoFirstTypeName;
	}
    
    public void setVideoFirstTypeName(String videoFirstTypeName) {
		this.videoFirstTypeName = videoFirstTypeName;
	}
    
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public String getPinyin1() {
		return pinyin1;
	}

	public void setPinyin1(String pinyin1) {
		this.pinyin1 = pinyin1;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public Double getRating() {
		return rating;
	}

	public void setRating(Double rating) {
		this.rating = rating;
	}

	public Integer getStars() {
		return stars;
	}

	public void setStars(Integer stars) {
		this.stars = stars;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getSrt() {
		return srt;
	}

	public void setSrt(String srt) {
		this.srt = srt;
	}

	public String getPic1() {
		return pic1;
	}

	public void setPic1(String pic1) {
		this.pic1 = pic1;
	}

	public String getPic2() {
		return pic2;
	}

	public void setPic2(String pic2) {
		this.pic2 = pic2;
	}

	public String getPic3() {
		return pic3;
	}

	public void setPic3(String pic3) {
		this.pic3 = pic3;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public String getBackground() {
		return background;
	}

	public void setBackground(String background) {
		this.background = background;
	}

	public Integer getWishCount() {
		return wishCount;
	}

	public void setWishCount(Integer wishCount) {
		this.wishCount = wishCount;
	}

	public Integer getCollectCount() {
		return collectCount;
	}

	public void setCollectCount(Integer collectCount) {
		this.collectCount = collectCount;
	}

	public Integer getCommentsCount() {
		return commentsCount;
	}

	public void setCommentsCount(Integer commentsCount) {
		this.commentsCount = commentsCount;
	}

	public Integer getRatingsCount() {
		return ratingsCount;
	}

	public void setRatingsCount(Integer ratingsCount) {
		this.ratingsCount = ratingsCount;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

//	public List<Celebrity> getCasts() {
//		return casts;
//	}
//
//	public void setCasts(List<Celebrity> casts) {
//		this.casts = casts;
//	}
//
//	public List<Celebrity> getDirectors() {
//		return directors;
//	}
//
//	public void setDirectors(List<Celebrity> directors) {
//		this.directors = directors;
//	}

	public List<VideoTag> getVideoTags() {
		return videoTags;
	}

	public void setVideoTags(List<VideoTag> videoTags) {
		this.videoTags = videoTags;
	}

	public List<VideoCountry> getVideoCountries() {
		return videoCountries;
	}

	public void setVideoCountries(List<VideoCountry> videoCountries) {
		this.videoCountries = videoCountries;
	}
    
	public List<VideoType> getTypes() {
		return types;
	}
	
	public void setTypes(List<VideoType> types) {
		this.types = types;
	}
	
	public List<VideoEpisode> getVideoEpisodes() {
		return videoEpisodes;
	}
	
	public void setVideoEpisodes(List<VideoEpisode> videoEpisodes) {
		this.videoEpisodes = videoEpisodes;
	}
	
	public String getMovieBarId() {
		return movieBarId;
	}
	
	public void setMovieBarId(String movieBarId) {
		this.movieBarId = movieBarId;
	}
	
	public Integer getLoadStatus() {
		return loadStatus;
	}
	
	public void setLoadStatus(Integer loadStatus) {
		this.loadStatus = loadStatus;
	}
	
	public String getPicLocal() {
		return picLocal;
	}
	
	public void setPicLocal(String picLocal) {
		this.picLocal = picLocal;
	}
	
	public String getPublishTaskId() {
		return publishTaskId;
	}
	
	public void setPublishTaskId(String publishTaskId) {
		this.publishTaskId = publishTaskId;
	}
	
	public String getVideoPath() {
		return videoPath;
	}
	
	public void setVideoPath(String videoPath) {
		this.videoPath = videoPath;
	}
	
	public String getBackgroundLocal() {
		return backgroundLocal;
	}
	
	public void setBackgroundLocal(String backgroundLocal) {
		this.backgroundLocal = backgroundLocal;
	}
	
	public MovieView getMovieView() {
		return movieView;
	}
	
	public void setMovieView(MovieView movieView) {
		this.movieView = movieView;
	}
	public String getCopyright() {
		return copyright;
	}
	public void setCopyright(String copyright) {
		this.copyright = copyright;
	}

	public String getActor() {
		return actor;
	}

	public void setActor(String actor) {
		this.actor = actor;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}
	
	public Integer getPrice() {
		return price;
	}
	
	public void setPrice(Integer price) {
		this.price = price;
	}
}
